/* Dynamic string
 * All DString must be allocated/freed using dstring function */
typedef struct _DString {
	char *buf;
	int  buf_size;
	char str_size; // string len, don't include \0
} DString;
